package com.weipai.springboot.model;

import com.weipai.springboot.module.util.DateUtils;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.UUID;

/**
 * 货品类别实体类
 */
@Table(name = "c_product_category")
public class ProductCategory {
    @Id
    private String productCategoryId= UUID.randomUUID().toString();//主键

    private String productCategoryName;

    private String productCategoryDescribe;

    private String productCategoryImg;

    private Integer productCategorySort=0;

    private Integer productCategoryStatus=0;

    private String productCategoryRank;

    private Integer productCategoryDel=0;

    private String parentId;

    private String path;

    private String createTime= DateUtils.timeFormat(System.currentTimeMillis());

    private String delTime;

    private String updateTime;

    private String initial;

    public String getInitial() {
        return initial;
    }

    public void setInitial(String initial) {
        this.initial = initial;
    }

    public String getProductCategoryId() {
        return productCategoryId;
    }

    public void setProductCategoryId(String productCategoryId) {
        this.productCategoryId = productCategoryId == null ? null : productCategoryId.trim();
    }

    public String getProductCategoryName() {
        return productCategoryName;
    }

    public void setProductCategoryName(String productCategoryName) {
        this.productCategoryName = productCategoryName == null ? null : productCategoryName.trim();
    }

    public String getProductCategoryDescribe() {
        return productCategoryDescribe;
    }

    public void setProductCategoryDescribe(String productCategoryDescribe) {
        this.productCategoryDescribe = productCategoryDescribe == null ? null : productCategoryDescribe.trim();
    }

    public String getProductCategoryImg() {
        return productCategoryImg;
    }

    public void setProductCategoryImg(String productCategoryImg) {
        this.productCategoryImg = productCategoryImg == null ? null : productCategoryImg.trim();
    }

    public Integer getProductCategorySort() {
        return productCategorySort;
    }

    public void setProductCategorySort(Integer productCategorySort) {
        this.productCategorySort = productCategorySort;
    }

    public Integer getProductCategoryStatus() {
        return productCategoryStatus;
    }

    public void setProductCategoryStatus(Integer productCategoryStatus) {
        this.productCategoryStatus = productCategoryStatus;
    }

    public String getProductCategoryRank() {
        return productCategoryRank;
    }

    public void setProductCategoryRank(String productCategoryRank) {
        this.productCategoryRank = productCategoryRank == null ? null : productCategoryRank.trim();
    }

    public Integer getProductCategoryDel() {
        return productCategoryDel;
    }

    public void setProductCategoryDel(Integer productCategoryDel) {
        this.productCategoryDel = productCategoryDel;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getDelTime() {
        return delTime;
    }

    public void setDelTime(String delTime) {
        this.delTime = delTime == null ? null : delTime.trim();
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }
}